<template>
  <el-container class="container" >
  <!--根据判断来是否展示头部-->
    <el-header class="header" v-if="this.$store.state.judge">
      <div class="header-a">
        <a href="#" class="el-icon-arrow-left" @click="JumpPersonal">返回</a>
      </div>
      <div class="header-b">
        <ul class="title">
          <li>
            <router-link class="li" to="/questionnaire/edit"
              >编辑问卷</router-link
            >
          </li>
        </ul>
      </div>
      <div class="header-c">
        <ul class="title-c">
          <li>
            <a href="#" class="iconfont icon-kefu">&nbsp;寻找客服</a>
          </li>
          <li>
            <a href="#" class="iconfont icon-xianshangxiaoshuaigongju" >&nbsp;数据统计</a>
          </li>
        </ul>
      </div>
    </el-header>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</template>
<script>
export default {
  name: "questionnaire",
  methods: {
    JumpPersonal:function(){
      // 跳转到个人中心
      this.$router.push({ path: "/personalcenter" });
    }
  },
};
</script>
<style scoped>
/* 引入css样式 */
@import "../../assets/css/questionnaire/questionnaire.css";
</style>